<?php
namespace App\Modules\Music;

use App\Modules\AdapterApi;
use App\Services\Music\MusicIndex;

class Music extends AdapterApi
{
    //领取音乐
    public function musicGetTask(){
        return MusicIndex::Music()->musicGetTask();
    }

    //列表
    public function musicList(){
        $data = $this->postData;
        return MusicIndex::Music()->musicList($data);
    }

    //音乐详情
    public function musicDetail(){
        $data = $this->postData;
        return MusicIndex::Music()->musicDetail($data);
    }

    //审核音乐
    public function checkMusic(){
        $data = $this->postData;
        return MusicIndex::Music()->checkMusic($data);
    }

    //重审音乐
    public function reiterateMusic(){
        return MusicIndex::Music()->reiterateMusic();
    }

    //修改sp
    public function updateSp(){
        $data = $this->postData;
        return SpIndex::Sp()->updateSp($data);
    }

    //统计音乐
    public function statisticsMusic(){
        return MusicIndex::Music()->statisticsMusic();
    }

    //根据平台统计音乐
    public function musicBySp(){
        $data = $this->postData;
        return MusicIndex::Music()->musicBySp($data);
    }

    //音乐发向平台生成对应材料
    public function musicToSp(){
        $data = $this->postData;
        return MusicIndex::Music()->musicToSp($data);
    }

    //独家发布
    public function musicToSingle(){
        $data = $this->postData;
        return MusicIndex::Music()->musicToSingle($data);
    }



}